/*
 * Block.h
 *
 *  Created on: 4 apr 2010
 *      Author: Andreas
 */

#ifndef BLOCK_H_
#define BLOCK_H_

#include "engine/graphics/Sprite.h"

namespace Single {

class Block : public Sprite {
public:
	Block(int x, int y);
	virtual ~Block();

	void draw();
	void update(int elapsed);
	void setActive(bool b);
	bool isActive() { return active; }

private:
	bool active;
	int respawnTimer;

};

}

#endif /* BLOCK_H_ */
